/*************************************************************************
 Copyright (C) Unpublished Unis Software, Inc. All rights reserved.
 Unis Software, Inc., Confidential and Proprietary.

 This software is subject to copyright protection
 under the laws of the Public of China and other countries.

 Unless otherwise explicitly stated, this software is provided
 by Unis "AS IS".
 *************************************************************************/
package com.unis.service.eweboffice;

import java.util.List;

import com.unis.model.BaseModel;
import com.unis.model.eweboffice.DocumentProc;

/**
 * @author CSJ (email:Cao.shengjie777@gmail.com)
 * @since 2013-04-09
 */
public interface DocumentProcService {

    /****************************************
     * Insert a instace of DocumentProc
     ****************************************/
    void insert(DocumentProc documentproc) throws Exception;

    /****************************************
     * Insert instaces of DocumentProc
     ****************************************/
    void batchInsert(DocumentProc documentproc) throws Exception;

    /****************************************
     * Delete a instace of DocumentProc
     ****************************************/
    void delete(DocumentProc documentproc) throws Exception;

    /****************************************
     * Delete instaces of DocumentProc
     ****************************************/
    void batchDelete(DocumentProc documentproc) throws Exception;

    /****************************************
     * Update a instace of DocumentProc
     ****************************************/
    void update(DocumentProc documentproc) throws Exception;

    /****************************************
     * Query instaces of DocumentProc
     ****************************************/
    List<BaseModel> queryAsList(DocumentProc documentproc) throws Exception;

    /****************************************
     * Query a instaces of DocumentProc
     ****************************************/
    BaseModel queryAsObject(DocumentProc documentproc) throws Exception;
}
